package news.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import dao.SubscribeDao;
import models.Subscribe;

@Controller
@RequestMapping("/admin/subscribe")
public class SubscribeController extends CRUDController<Subscribe>{
    public SubscribeController() {
        SubscribeDao dao = new SubscribeDao();
        setDao(dao);
        setModelClass(Subscribe.class);
    }
}
